package com.icms.modo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class User {

	private String id ;
	
	private String name ;
	
	private String sex ;
	
	private Date datetime ;

	
	public User(String id, String name, String sex, Date datetime) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.datetime = datetime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@JSONField(format="yyyy-MM-dd")
	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}
	
}
